package com.wzy.designpattern.structural.decorator.v1;

/**
 * 描述
 * 创建人    Wzy
 * 创建时间: 2020-05-15  23:42
 */
public class BattercakeWithEggSausage extends BattercakeWithEgg {
    @Override
    protected String getDesc() {
        return super.getDesc() + "加一根香肠";
    }

    @Override
    protected int cost() {
        return super.cost() + 2;
    }
}
